<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%-- 包含base标签、css样式、jQuery文件	--%>

<%
    String basePath = request.getScheme()
            + "://"
            + request.getServerName()
            +":"
            + request.getServerPort()
            + request.getContextPath()
            + "/";

    pageContext.setAttribute("basePath",basePath);
%>

<base href="<%=basePath%>"/>
<script type="text/javascript" src="static/script/jquery-1.7.2.js"></script>